module.exports = {
    devServer: {
        open: true,
        overlay: {
            warning: false,
            errors: false
        },
        proxy: {
            '/api': {
                target: 'http://apis.juhe.cn/',  // 聚合接口地址
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '',
                }
            },
            '/foo': {
                target: 'https://bang.360.cn/',  // 聚合接口地址
                changeOrigin: true,
                pathRewrite: {
                    '^/foo': '',
                }
            }
        }
    },
    lintOnSave: false
};
